<template>
  <div>
    <h1 @click="showName">姓名:{{ name }}</h1>
    <h1>年龄：{{ age }}</h1>
  </div>
</template>

<script>
import { mixin } from '../mixin'
export default {
  name: 'School',
  data() {
    return {
      name: '张无尽',
      age: 18,
    }
  },
  mixins: [mixin],
}
</script>

<style></style>
